import { Entity, PrimaryGeneratedColumn, Column, BaseEntity, ManyToOne, OneToMany, JoinColumn, ManyToMany, JoinTable } from 'typeorm';

@Entity('setting_files')
export class SettingFiles extends BaseEntity {
  @PrimaryGeneratedColumn({ comment: 'id' })
  id: number;

  @Column({ default: 0, comment: '轮播id' })
  carousel_id: number;

  @Column({ default: 0, comment: '反馈id' })
  feedback_id: number;

  @Column({ default: 0, comment: '文件id' })
  file_id: number;
}
